import request from '@/utils/request'


export const postLogin = (data) => {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}


export const getLoginUserInfo = (data) => {
    return request({
        url: '/user/info',
        method: 'post',
        data
    })
}